package pattern.command;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

// 停止命令类
@AllArgsConstructor
@NoArgsConstructor
public class StopAction implements IAction {
    private Player player;
    @Override
    public void execute() {
        player.stop();
    }
}
